import { getUserInfo } from 'vue-xiaobu-utils'
import UserInfoModel from '../models/UserInfoModel'
// 获取用户信息
function acquireUserInfo() {
  let userInfo = getUserInfo()
  let userInfoModel = new UserInfoModel(
    userInfo.NICK_NAME,
    userInfo.PHONE,
    userInfo.ISSET_PASSWD
  )
  return userInfoModel
}

export { acquireUserInfo }
